package com.tshopping.controller;

import com.tshopping.util.ResponseData;
import org.springframework.web.bind.annotation.*;

/**
 * @name: IndexController
 * @description: TODO
 * @author: Jackeys
 * @date: 2021-01-28 16:04
 */
@RestController
@RequestMapping("/IndexController")
@CrossOrigin
public class IndexController {

    @PostMapping(value = "/index")
    public ResponseData toLogin() {
        ResponseData responseData = ResponseData.ok();
        return responseData;
    }
}
